/**
 * @author Administrator
 *
 */
package com.mblog.comment.service;

import java.util.List;
import java.util.Map;

import com.mblog.comment.entity.MBlogComment;
import com.mblog.util.PageBean;

public interface ArticleCommentService{
	
    int deleteByPrimaryKey(Integer id);

    int insert(MBlogComment record);

    MBlogComment selectByPrimaryKey(Integer id);

    List<MBlogComment> selectAll();

    int updateByPrimaryKey(MBlogComment record);
    
    PageBean selectAllCommentsByPage(int pageNo,int  pageSize, Map<String,Object> map);
    
    MBlogComment selectCommentsByParentid(int id);
    
    int  selectMaxSortByBlogId(Map<String,Object> map);
}